package com.gitee.huanminabc.utils_test.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author huanmin
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "RolePermissionEntity",description = "")
@TableName("t_role_permission")
public class RolePermissionEntity implements Serializable{
    private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "没有字段描述",required = true)
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	@ApiModelProperty(value = "没有字段描述",required = true)
	@TableField( "permissionCode")
	private String permissionCode;
	@ApiModelProperty(value = "没有字段描述",required = true)
	@TableField( "roleCode")
	private String roleCode;


}
